# coding=utf-8
import arcpy
import os

ds_name = "LcrDataset"

arcpy.env.workspace = r"D:\sde_copy\地理国情监测数据测试\JC19_420323.gdb"
for ds in arcpy.ListDatasets():
    print(ds)
    if ds == ds_name:
        fcs = arcpy.ListFeatureClasses(feature_type="All", feature_dataset=ds)
        print(fcs)
